package test.Final;

import java.util.HashSet;
import java.util.Set;

/**
 * @author yachao.guo
 * @version 1.0.0  2018-09-04
 */
public class ThreeStooges {
    private final Set<String> stogges = new HashSet<>();

    public ThreeStooges(){
        stogges.add("1");
        stogges.add("2");
        stogges.add("3");
    }
    public void  get(){
        stogges.add("6");
    }

    public static void main(String[] args) {
        ThreeStooges t = new ThreeStooges();
        t.get();
        t.stogges.forEach(s -> System.out.println(s));
    }
}
